package v7_test;

import java.security.NoSuchAlgorithmException;

import cn.egame.common.util.Utils;
import cn.egame.interfaces.fl.FileUsedType;
import cn.egame.interfaces.fl.FileUtils;

public class TestFilePath {
    public static void main(String[] args) throws Exception {
        try {
            System.out.println(FileUtils.getFilePath(FileUsedType.game_view, 186752, "c0028fe97h2d9807.jpg"));
            System.out.println(FileUtils.getFilePath(FileUsedType.file, 32264, "walkThought.docx"));
            System.out.println(FileUtils.getFilePath(FileUsedType.game_view, 1852068, "jietu4.png"));
            System.out.println(FileUtils.getFilePath(FileUsedType.game, 1603601, "10001881_1.apk"));
            System.out.println(Utils.getFileId("fee84642h187811a", 0));
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        }
    }
}
